<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div id="header">
    <h1 id="logo">
    <a href="/music/index.jsp"><img alt="歌词美美" src="/resource/images/logo.png" height="50"></a>
    </h1>
    <ul class="nav" id="nav">
      <li><a class="home select" href="index.html">首页</a></li>
      <li><a class="api" href="./_doc/API.html">文档</a></li>
      <li><a class="down" href="./_doc/down.html">下载</a></li>
      <li><a class="log" href="./_doc/log.html">更新</a></li>
      <li><a class="labs" href="./_doc/labs.html">实验</a></li>
      <li><a class="license" href="./_doc/license.html">授权</a></li>
      |
      <li><a id="nav-skin" href="#">皮肤</a></li>
    </ul>
    <div class="clear"></div>
  </div>
<div id="top">
	<div class="float_left"><jsp:include page="/common/searchbar.jsp"></jsp:include></div>
	<div class="float_right" style="margin-top:5px;">
	
	
		<c:if test="${userid != null }">
			欢迎您！${username }  <a href="javascript:;" onclick="et_logout()">退出</a>
		</c:if>
		<c:if test="${userid == null }">
			<a href="javascript:;" onclick="et_loginWin('登录','/music/usersphere/loginDialog.jsp');">登录</a>
			<a href="usersphere/register.do">注册</a>
		</c:if>
	</div>
	<div class="clear"></div>
</div>
